package com.work.saturn.bean;

import com.immo.libcommon.base.BaseBean;

/**
 * @author Administrator
 * @content 用户信息Bean
 * @date 2018/7/11
 */
@SuppressWarnings("unused")
public class UserMsgBean extends BaseBean {

    /**
     * payload : {"id":"eaecdc22-ce89-4fa5-8faf-b20950d0389f","name":"18505694091","role":"user","canCreateNewToken":false,"wallet":{}}
     */

    private PayloadBean payload;

    public PayloadBean getPayload() {
        return payload;
    }

    public void setPayload(PayloadBean payload) {
        this.payload = payload;
    }

    public static class PayloadBean {
        /**
         * id : eaecdc22-ce89-4fa5-8faf-b20950d0389f
         * name : 18505694091
         * role : user
         * canCreateNewToken : false
         * wallet : {}
         */

        private String id;
        private String name;
        private String role;
        private boolean canCreateNewToken;
        private WalletBean wallet;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public boolean isCanCreateNewToken() {
            return canCreateNewToken;
        }

        public void setCanCreateNewToken(boolean canCreateNewToken) {
            this.canCreateNewToken = canCreateNewToken;
        }

        public WalletBean getWallet() {
            return wallet;
        }

        public void setWallet(WalletBean wallet) {
            this.wallet = wallet;
        }

        static class WalletBean {
        }
    }
}
